import type { RouteRecordRaw } from 'vue-router';

const basicRoutes: Array<RouteRecordRaw> = [
  {
    path: '/login',
    name: 'login',
    component: () => import('@/views/login/index.vue'),
    meta: {
      title: 'login'
    }
  },
  {
    path: '/:pathMatch(.*)*',
    redirect: '/login'
  }
];

export default basicRoutes;
